Automattic\Jetpack\Dashboard_Customizations\Masterbar C

Total Complexity 112
Dependencies 12
Dependents 0
Total lines 1,463
Lines of code 1,044
Logical lines of code 267
Comment lines 254
Methods 24
Properties 12

Methods 24

Method Rating Maintainability Complexity Lines of code
add_my_sites_submenu()
D
13
32 479
add_me_submenu()
A
31 5 156
init()
A
45 11 42
get_jetpack_locale()
A
57 8 17
__construct()
S
49 7 28
install_locale()
S
58 7 15
add_reader_submenu()
S
39 2 83
get_locale()
S
58 6 15
add_styles_and_scripts()
S
48 3 37
add_write_button()
S
53 4 22
build_wpcom_masterbar()
S
58 4 17
maybe_logout_user_from_wpcom()
S
62 4 11
add_my_home_submenu_item()
S
58 3 16
add_notifications()
S
54 2 23
wpcom_adminbar_add_secondary_groups()
S
55 1 27
replace_language_dropdown()
S
60 1 15
replace_core_masterbar()
S
68 2 8
remove_core_styles()
S
74 2 5
clear_core_masterbar()
S
74 2 5
wpcom_static_url()
S
68 2 7
hide_language_dropdown()
S
80 1 3
create_menu_item_pair()
S
67 1 7
create_menu_item_anchor()
S
77 1 3
admin_body_class()
S
80 1 3